package libnetdb.dm.assoc.dhp.demo;

import libnetdb.dm.assoc.base.*;
import libnetdb.dm.assoc.dhp.*;
import libnetdb.dm.assoc.util.*;

/**
 * <code>ConsoleMessenger</code> is an impelmentation of <code>
 * ProgressListener</code>, thus, can be used to moniter the
 * current progress of the mining progress.
 *
 * @author Cheng-Ru Lin
 * @version 1.0
 */
public class ConsoleMessenger extends ProgressAdapter {

    public void messagePosted(ControllableTask task, String message){
        System.out.println("Message: " + message);
    }

    public void stageChanged(ControllableTask task, String stage){
        System.out.println("Stage: " + stage);
    }
}